package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import org.springframework.context.annotation.Bean;

/**
 * <p>
 * 预警表
 * </p>
 *
 * @author Webgasd
 * @since 2020-08-24
 */
@TableName("ORDER_COMMODITY_TRACK_ALARM")
public class OrderCommodityTrackAlarm extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 预警表主键id
     */
    @TableId("OCTA_ID")
    private String octaId;

    /**
     * 商品绑定节点表主键
     */
    @TableField("OCT_ID")
    private String octId;

    /**
     * 预警提前量
     */
    @TableField("ALARM_PRE")
    private Integer alarmPre;

    /**
     * 获取计划时间
     */
    @TableField("GET_DATE")
    private Date getDate;

    /**
     * 预警时间
     */
    @TableField("ALARM_DATE")
    private Date alarmDate;

    /**
     * 通知人
     */
    @TableField("ALARM_NOTICE")
    private String alarmNotice;

    /**
     * 处理人
     */
    @TableField("ALARM_DEAL")
    private String alarmDeal;

    /**
     * 通知方式
     */
    @TableField("ALARM_WAY")
    private String alarmWay;

    /**
     * 预警信息
     */
    @TableField("ALARM_INFORMATION")
    private String alarmInformation;

    /**
     * 预警状态
     */
    @TableField("ALARM_STATE")
    private Integer alarmState;

    public String getOctaId() {
        return octaId;
    }

    public void setOctaId(String octaId) {
        this.octaId = octaId;
    }
    public String getOctId() {
        return octId;
    }

    public void setOctId(String octId) {
        this.octId = octId;
    }
    public Integer getAlarmPre() {
        return alarmPre;
    }

    public void setAlarmPre(Integer alarmPre) {
        this.alarmPre = alarmPre;
    }
    public Date getGetDate() {
        return getDate;
    }

    public void setGetDate(Date getDate) {
        this.getDate = getDate;
    }
    public Date getAlarmDate() {
        return alarmDate;
    }

    public void setAlarmDate(Date alarmDate) {
        this.alarmDate = alarmDate;
    }
    public String getAlarmNotice() {
        return alarmNotice;
    }

    public void setAlarmNotice(String alarmNotice) {
        this.alarmNotice = alarmNotice;
    }
    public String getAlarmDeal() {
        return alarmDeal;
    }

    public void setAlarmDeal(String alarmDeal) {
        this.alarmDeal = alarmDeal;
    }
    public String getAlarmWay() {
        return alarmWay;
    }

    public void setAlarmWay(String alarmWay) {
        this.alarmWay = alarmWay;
    }
    public String getAlarmInformation() {
        return alarmInformation;
    }

    public void setAlarmInformation(String alarmInformation) {
        this.alarmInformation = alarmInformation;
    }
    public Integer getAlarmState() {
        return alarmState;
    }

    public void setAlarmState(Integer alarmState) {
        this.alarmState = alarmState;
    }

    @Override
    public String toString() {
        return "OrderCommodityTrackAlarm{" +
            "octaId=" + octaId +
            ", octId=" + octId +
            ", alarmPre=" + alarmPre +
            ", getDate=" + getDate +
            ", alarmDate=" + alarmDate +
            ", alarmNotice=" + alarmNotice +
            ", alarmDeal=" + alarmDeal +
            ", alarmWay=" + alarmWay +
            ", alarmInformation=" + alarmInformation +
            ", alarmState=" + alarmState +
        "}";
    }
}
